package com.example.shopdemo.repository;

import com.example.shopdemo.entity.WechatAuth;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author ：Anitaxiaofeng
 * @description：
 * @create 2018-02-04
 **/
public interface WechatAuthRepository extends JpaRepository<WechatAuth,Long> {

    //通过openId查询对应本平台的微信账号
    public WechatAuth findByOpenId(String openId);
}
